package com.xmx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class DefaultViewController {
    //前台启动后默认跳转页面
    @RequestMapping("/")
    public ModelAndView index() {
        return new ModelAndView("redirect:/login.html");
    }

}
